package sh.wn36.vehiclemanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import sh.wn36.vehiclemanage.entity.QMenu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xk
 * @since 2021-04-26
 */
@Mapper
public interface QMenuMapper extends BaseMapper<QMenu> {
    @Select("select * from q_menu where pid =#{id}")
    public List<QMenu> findByPid(int id);

}
